package com.example.projectcode.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public class Chapter {
    @TableId(type = IdType.AUTO,value = "Chapid")
    private Integer Chapid;
   @TableField("Subid")
    private Integer Subid;
    @TableField("Chapname")
    private String Chapname;
}
